<select data-placeholder="Chọn thiết bị..." name="arr_device_id[]" id="arr_device_id" class="chosen-select" multiple="multiple" style="width:350px;" tabindex="4">
<option value=""></option>
 <?php foreach ( $data AS $el=>$le ){ ?> 
	<option value="<?php echo $le->id;?>"><?php echo $le->namedevice;?></option>
<?php } ?>
</select><script type="text/javascript">
    var config = {
      '.chosen-select'           : {},
      '.chosen-select-deselect'  : {allow_single_deselect:true},
      '.chosen-select-no-single' : {disable_search_threshold:10},
      '.chosen-select-no-results': {no_results_text:'Oops, nothing found!'},
      '.chosen-select-width'     : {width:"95%"}
    }
    for (var selector in config) {
      $(selector).chosen(config[selector]);
    }
  </script>